package com.zk.shop.entity;

import java.io.Serializable;

/**
 * 管理员类
 */
public class Admin implements Serializable {
    private int adminId;        //管理员Id
    private String adminName;   //管理员姓名
    private String adminPwd;    //管理员密码
    private int flag;           //管理员标识

    public Admin() {
    }

    public Admin(int adminId, String adminName, String adminPwd, int flag) {
        this.adminId = adminId;
        this.adminName = adminName;
        this.adminPwd = adminPwd;
        this.flag = flag;
    }

    public int getAdminId() {
        return adminId;
    }

    public void setAdminId(int adminId) {
        this.adminId = adminId;
    }

    public String getAdminName() {
        return adminName;
    }

    public void setAdminName(String adminName) {
        this.adminName = adminName;
    }

    public String getAdminPwd() {
        return adminPwd;
    }

    public void setAdminPwd(String adminPwd) {
        this.adminPwd = adminPwd;
    }

    public int getFlag() {
        return flag;
    }

    public void setFlag(int flag) {
        this.flag = flag;
    }
}
